home *** CD-ROM | disk | FTP | other *** search
- /*----------------------------------------------------------------------------*\
- *
- * CUSTOM.RUL
- *
- * Sofsource Installation Packagee.
- * Copyright (c) 1995, Sofsource, Inc. All rights reserved.
- * Setup script written by: Bob Falk
- *
- *------------------------------------------------------------------------------
- *
- * Program-specific declarations for: Power Typing
- *
- * Last updated on: 12/27/95
- *
- *------------------------------------------------------------------------------
- *
- * Optionally place files in: DATA\WINDR
- * DATA\WINSYSDR
- * DATA\TRUETYPE
- *
- \*----------------------------------------------------------------------------*/
-
- //#define DEBUG_CHECKS 1
- // Define the above when extra debugging checks
- // should be included in the installation script
- // (defined automatically by BuildDBG.BAT)
-
-
- #define USE_LOG_FILE 1
- #define LOG_FILE_NAME "SOFSETUP.LOG" // In WINDIR directory
- #define LOG_FILE_ICON "Read Setup Log for " // In WINDIR directory
-
- #ifdef DEBUG_CHECKS
- #define LOG_FILE_DEFAULT TRUE
- #else
- #define LOG_FILE_DEFAULT FALSE
- #endif
-
-
- // Documentation/READ-ME file definitions:
-
- #define DOCUMENTATION_PRESENT 1
- // Define the above if a README file is present
-
- #ifdef DOCUMENTATION_PRESENT
- #define DOC_FILE_NAME "WPT.DOC"
- #define DOC_ICON_NAME "Power Typing Read Me"
- #endif
-
-
-
- #define NUM_EXES_PRESENT 1
- // Set the above to the number of executable files
- // belonging to the product, for which icons will be made
- // *** Use "-1" when WINHELP.EXE should execute a HLP file ***
-
-
-
- // Special Case Involving Running From CD-ROM
-
- //#define CDROM_ALWAYS_REQUIRED 1
- // Define the above if the CD-ROM must always be inserted to use the program
-
-
-
-
- //#define EXE_RUN_FROM_CDROM 1
- // Define the above if the EXE is started from the CD-ROM
-
- #ifdef EXE_RUN_FROM_CDROM
- #ifdef NUM_EXES_PRESENT >= 1
- #define SRC_PATH_1_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 2
- #define SRC_PATH_2_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 3
- #define SRC_PATH_3_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 4
- #define SRC_PATH_4_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #endif
-
-
-
-
- //#define WORKING_DIR_ON_CDROM 1
- // Define the above if the working directory should be on the CD-ROM
- // otherwise the working directory will be the installation target directory
-
- #ifdef WORKING_DIR_ON_CDROM
- #ifdef NUM_EXES_PRESENT >= 1
- #define WORK_PATH_1_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 2
- #define WORK_PATH_2_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 3
- #define WORK_PATH_3_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 4
- #define WORK_PATH_4_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #endif
-
-
-
- //----- Constant declarations (also update LAUNCHER.DPR):
-
- #define PRODUCT_LINE_NAME "Personal Companion CD"
- // !!! |--------------------------------| 32 chars max length !!!
- #define APP_NAME "Power Typing"
- // !!! |-----------------| 17 chars max length !!!
- #define EXTRAICONS_APP_NAME "Power Typing"
- #define APP_VERSION_NUMBER "1.00"
- #define APP_UPC_CODE "14008-4"
- #define PRODUCT_ID_FILENAME "ID140084.ID_"
-
- #define SCREEN_CAPTION "Personal Companion CD \"Power Typing\""
- #define APPBASE_PATH3X "PcCd\\pTyping\\"
- #define APPBASE_PATH95 "PcCd\\pTyping\\"
-
- // Define the GROUP/Folder name below:
- //#define PROGRAM_FOLDER_NAME "ProOne CD"
- //#define PROGRAM_FOLDER_NAME "ProOne"
- //#define PROGRAM_FOLDER_NAME "Personal Companion"
- #define PROGRAM_FOLDER_NAME "Personal Companion CD"
- //#define PROGRAM_FOLDER_NAME "Player's Palace"
- //#define PROGRAM_FOLDER_NAME "WinStream"
- //#define PROGRAM_FOLDER_NAME "High School Six-Pack"
- //#define PROGRAM_FOLDER_NAME "Middle School Six-Pack"
- //#define PROGRAM_FOLDER_NAME "Game Master Ten-Pack"
-
- #define COMPRESSED_PROG_NAME "PROGFILE.SET"
-
-
-
- //----- SPECIAL-CASE Definitions:
-
- //#define SPECIAL_CASE_TERM_PAPER 1
- // Define the above if this is Windows Term Paper
-
- //#define SPECIAL_CASE_BOOK_REPORT 1
- // Define the above if this is Windows Book Report
-
- //#define SPECIAL_CASE_RESUME 1
- // Define the above if this is Windows Resume
-
- //#define SPECIAL_CASE_MM_TRIVIA 1
- // Define the above if this is Multimedia Trivia
-
- //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
- // Define the above if this is Windows Made Easy
-
- //#define SPECIAL_CASE_TYPING_TEACHER 1
- // Define the above if this is Multimedia Typing Teacher
-
- //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
- // Define the above if this is Easy Tutorial for Windows 95
-
- //#define SPECIAL_CASE_OFFICE_SUITE 1
- // Define the above if this is Office Suite
-
-
-
- // Executable and Icon File Definitions:
-
- #ifdef NUM_EXES_PRESENT >= 1
- // !!! |-----------------| 17 chars max length !!!
- #define PROG_NAME_1 "Power Typing"
- #define EXE_FILE_1 "WPT.EXE"
- #define ICON_FILE_1 "WPT.EXE"
- #endif
- #ifdef NUM_EXES_PRESENT >= 2
- #define PROG_NAME_2 ""
- #define EXE_FILE_2 ""
- #define ICON_FILE_2 ""
- #endif
- #ifdef NUM_EXES_PRESENT >= 3
- #define PROG_NAME_3 ""
- #define EXE_FILE_3 ""
- #define ICON_FILE_3 ""
- #endif
- #ifdef NUM_EXES_PRESENT >= 4
- #define PROG_NAME_4 ""
- #define EXE_FILE_4 ""
- #define ICON_FILE_4 ""
- #endif
- #ifdef NUM_EXES_PRESENT = -1
- #define HELP_NAME_1 "?"
- #define HLP_FILE_1 "?.HLP"
- #endif
-
-
- // The following are used in the registry for uninstall purposes:
-
- #define COMPANY_NAME "SofsourceInc"
- #define PRODUCT_NAME "Power Typing" // Will appear in Add/Remove Program's display
- #define PRODUCT_VERSION "1.00"
- #define PRODUCT_KEY "WPT.EXE" // Used for path info key
- #define DEINSTALL_KEY "Sof140084Ver100DeinstKey"
- //
- // Used as: InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, PRODUCT_KEY );
- // RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME );
- // DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
-
-
- // The following are used in various dialog boxes:
-
- #define LICENSE_TITLE "Software License Agreement"
- #define LICENSE_FILE "LICENSE.TXT"
- #define DESTPATH_TITLE "Specify Installation Destination"
-
-
- // Requirements definitions:
-
- //--- VIDEO FOR WINDOWS:
- //
- //#define REQUIRES_VFW 1
- // Define the above if Video For Windows is required
-
-
- //--- Speaker Driver
- //
- //#define REQUIRES_SPEAKER_DRIVER 1
- // Define the above if the speaker driver should be installed
-
-
- // Processor requirements (overridden by VFW):
- #ifdef REQUIRES_VFW
-
- #define REQUIRES_80386 1
- #else
-
- //--- CPU REQUIREMENTS:
- //
- #define REQUIRES_80286 1
- //#define REQUIRES_80386 1
- //#define REQUIRES_80486 1
- //#define REQUIRES_PENTIUM 1
-
- #endif
-
-
- //#define REQUIRES_WINDOWS95 1
- // Define the above if Windows 95 is required.
- // If Windows 95 is required, then define the following if
- // the program will also run under Windows NT and/or Win32s.
-
- #ifdef REQUIRES_WINDOWS95
- #define OK_WINDOWSNT 1
- #define OK_WIN32S 1
- #endif
-